﻿using STHPMS1.ICore.I_Entity.Info;
using STHPMS1.ICore.I_Entity.Stmpms1;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq.Expressions;

namespace STHPMS1.ICore.I_BLL.Bus
{
    public interface IS_TrfvolsurveyBill : IBll
    {
        void Save<T>(T entity) 
            where T:class ,IS_Trfvolsurvey;

        void Remove(IS_Trfvolsurvey entity);

        IEnumerable<T> Get<T>(Expression<Func<T, bool>> predicate, IPagingInfo info)
            where T : class, IS_Trfvolsurvey;
        /// <summary>
        /// 获取一个路线下的所有交通量信息
        /// </summary>
        /// <param name="rdwayid"></param>
        /// <param name="direct"></param>
        /// <param name="checkDate"></param>
        /// <param name="info"></param>
        /// <returns></returns>
        DataTable GetByRoad(string rdwayid, int? direct, DateTime? checkDate, IPagingInfo info);
    }
}
